<mat-card class="example-card">
    <mat-card-header>
      <div mat-card-avatar class="example-header-image"><img src="{{comment.user?.avatar || '未命名'}}" alt=""></div>

      <mat-card-title>{{comment.user?.nickname || "暂无"}}</mat-card-title>
      
      <mat-card-subtitle>发布时间:{{comment.publishTime?.iso|date:"yyyy-MM-dd HH:mm" }}&nbsp;&nbsp;&nbsp;评论视频bv号:{{comment.appVideo?.bvId }}</mat-card-subtitle>
      
    </mat-card-header>
    <p>
        {{comment.content}}
    </p>

    <mat-card-actions>
      <button (click)="edit()" mat-button>编辑</button>
      <button *ngIf="comment.isDeleted == false" (click)="delete()" mat-button>删除</button>
      <button *ngIf="comment.isDeleted == true" (click)="restore()" mat-button>撤回</button>
    </mat-card-actions>
  </mat-card>
